﻿<link rel="stylesheet" href="/Css/Admin/songhuodan.css" />
<div class="main">
	<div class="fr" style="">
		<span class="red noprint">注意:请使用IE浏览器打印</span>
		<input type="button" style="margin-right:100px;" class="noprint" onclick="javascript:window.print();" value="打印" />
	</div>
</div>

<div class="main">
	<div class="center div-center" style="">
		
				<div class="gonghao"></div>
				<div class="riqi">{$order['created']|substr=###,2,14}</div>
				<div class="dingdanhao">{$order['order_sn']}</div>
						
				<div class="dinghuoren">{$order['user_name']}</div>
				<div class="dhr-lianxidianhua">{$order['user_mobile_phone']}</div>
				<div class="jifenkahao"></div>
				<div class="vipkahao"></div>
				
				
				<div class="shouhuoren">{$order['consignee']}</div>
				<div class="shr-lianxidianhua">{$order['mobile_phone']}</div>
				<div class="shouhuoshijian">{$order['delivery_time']|substr=###,2}</div>
				<div class="kjinzengjian"></div>
				
				<div class="songhuodizhi">{$order['address']}</div>
				<div class="jiekuandizhi">{$order['address']}</div>
				
				
				<div class="dangaoliebiao">
				
					<table style="width:100%">
					
						<volist name="cake_goods" id="g">
						<tr>
							<td class="tl red" style="width:80px;text-indent: 10px;">
								<notempty name="g['goods_name']">
								{$g['goods_name']}
								<else />
								{$g['ename']}
								</notempty>
							</td>
							<td class="tc red" style="width:42px;">{$g['attr_name']}</td>
							<td class="tc red" style="width:42px;text-indent:5px;">{$g['goods_number']}</td>
							<td class="tc red" style="width:42px;">{$g['unit']}</td>
							<td class="tr red" style="width:42px;">{$g['goods_price']}</td>
							<td class="tc red" style="width:42px;">--</td>
							<td class="tr red" style="width:42px;">{$g['subtotal']}</td>
						</tr>
						</volist>
						
					</table>			
				
				</div>
				
				
				<div class="fujian">
				
					<table style="width:100%">
						
						<volist name="surprise_goods" id="g">
						
						<if condition="$g eq null">
						<tr>
							<td class="tc" style="width:89px;">--</td>
							<td class="tc" style="width:89px;">--</td>	
						</tr>
						<else />
						<tr>
							<td class="tc" style="width:89px;">{$g['goods_number']}</td>
							<td class="tr" style="width:89px;">{$g['subtotal']}</td>	
						</tr>
						</if>
						</volist>
					</table>
					
				</div>
		
		
			<div class="shengripai">
			
			</div>
		
		
			<div class="zhehouzonge" title="蛋糕:{$cake_sum_price}-折扣:{$order['bonus']}">{$cake_discount_price}</div>
			
			<div class="fujianjine">{$surprise_sum_price}</div>
			
			<div class="fuwufei" title="运费:{$order['shipping_fee']}+包装费:{$order['pack_fee']}">{$service_fee}</div>
			
			<div class="yifujine">{$order['paid_amount']}</div>
			
			<div class="zhifufangshi">
				<if condition="$order['pay_id'] eq 1">
				在线支付
				<else />
				货到付款
				</if>
			</div>
			
			<div class="yingshoujine">{$order['should_pay']}</div>
			
			
			<div class="fapiao-taitou"></div>
			
			<div class="fapiao-neirong"></div>
			
			<div class="fapiao-teshu"></div>
			
			
			<div class="daohuoshijian"></div>
			
			<div class="songhuoren"></div>
		    
		    <!-- 以下是任务单 -->
		    <div class="rw_riqi">{$order['created']|substr=###,2,14}</div>
		    <div class="rw_dingdanhao">{$order['order_sn']}</div>
		    <div class="rw_dinghuoren">{$order['user_name']}</div>
		    <div class="rw_postscript">{$order['postscript']}</div>
			<!--		    
			<img class="img-bg" class="noprint" src="/Img/common/songhuodan.jpg" alt="" />
			-->
	</div>
</div>